using System;
using System.Collections.Generic;
using System.Text;

namespace BTV.Base.Search.Equality
{
    public class LessThanEqualityOperator : BaseEqualityOperator
    {
        public override string Value
        {
            get { return "<"; }
        }

        public override bool PerformEquality(object input, object equality)
        {
            DateTime it = (DateTime)input;
            DateTime et = (DateTime)equality;

            return it < et;
        }
    }
}
